package com.walle.concurrenttest.pattern.activeobject;

/**
 * @author zhangjiapeng
 * @Package com.walle.concurrenttest.pattern.activeobject
 * @Description: ${todo}
 * @date 2019/2/27 15:32
 */
public class Main {

    public static void main(String[] args) {
        ActiveObject activeObject = ActiveObjectFactory.createActiveObject();
        new MakeClientThread("制作线程1",activeObject,'A').start();
        new MakeClientThread("制作线程2",activeObject,'B').start();
        new DisplayClientThread("展示线程",activeObject).start();
    }
}
